package day1;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public class Test2 {
    public static void main(String[] args) {
        JedisPool pool=Util.getInstance();
        Jedis j=null;
        try{
            j=pool.getResource();
            j.set("aa","222");
        }finally {
            j.close();
        }
    }
}
